package org.thalien.roleplay.logic;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.thalien.roleplay.entity.Province;

public class ProvinceLogic extends AbstractDao<Province> {
	
	private static Logger logger = LoggerFactory.getLogger(ProvinceLogic.class);

	@Override
	protected Logger getLogger() {
		return ProvinceLogic.logger;
	}

	@Override
	public Class<Province> getEntityClass() {
		return Province.class;
	}

	@Override
	public Object getId(Province entity) {
		return entity.getId();
	}
	
	@Override
	public Province findByName(String name) {
		return super.findByName(name);
	}
}
